<template>
  <!-- 分类页面 -->
  <div class="category">
    <!-- 分类搜索 -->
    <van-search
      v-model="searchVal"
      disabled
      placeholder="请输入搜索关键词"
      shape="round"
      @click="$router.push('/home/searchPopup')"
    />
  </div>
</template>

<script>
import { GetCategoryData } from "@/request/api";
export default {
  data() {
    return {
      searchVal: "",
    };
  },
  created() {
    GetCategoryData().then((res) => {
      console.log(res.data);
    });
  },
};
</script>
 
<style lang = "less" scoped>
</style>